<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./js/vue.runtime.js"></script>
</head>
<body>
    <div id="app">

    </div>
</body>
<script>
    // 声明式编程
    var vm = new Vue({
        el:"#app",
        // template:"<p>{{msg}}</p>",
        data:{
            msg:"hello world"
        },
        render: function (createElement) {
            return createElement('p', this.msg)
        }
    })
</script>
</html>